<%-- 
    Document   : productDetails
    Created on : Jun 13, 2012, 10:05:22 AM
    Author     : ciummo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>


<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Dettagli Prodotto</title>
        <link rel="stylesheet" type="text/css" href="/DGestWebServer/css/dgest.css"/>
    </head>
    <body>
        <%@ include file="../adminDialogBar.jspf" %>
        <h1>Dettagli Prodotto</h1>
        
       <table class="objectDetails">
           
            <tr>
                <th>Id Prodotto: </th>
                <td><bean:write name="ProductActionForm" property="serialeProdotto"/></td>
            </tr> 

            <tr>
                <th>CodArticolo: </th>
                <td><bean:write name="ProductActionForm" property="codArticolo"/></td>
            </tr>
            <tr>
                <th>Id Ordine Prodotto: </th>
                <td><bean:write name="ProductActionForm" property="idOrdineProdotto"/></td>
            </tr>
            <tr>
                <th>Note: </th>
                <td><bean:write name="ProductActionForm" property="note"/></td>
            </tr>
            <tr>
                <th>Stato: </th>
                <td><bean:write name="ProductActionForm" property="stato"/></td>
            </tr>
            
       </table>
        
                                    <br>
                        
                        <h2>Report</h2>
                        

        <table class="objectList">
            <thead>
                <tr>

                    
                    <th>data</th>
                    <th>tipo</th>
                    <th>utente</th>
                    <th>note</th>
                </tr>
            </thead>

            <tbody>

                <logic:iterate id="report" name="ReportActionForm" property="list" >
                    <pg:item>
                        <tr>

                            <td><bean:write name="report" property="data"></bean:write></td>

                            <td><bean:write name="report" property="tipo"></bean:write></td>
                            <td><bean:write name="report" property="idUtente"></bean:write></td>
                            <td><bean:write name="report" property="messaggio"></bean:write></td>


                        </tr>    
                    </pg:item>
                </logic:iterate>

            </tbody>
        </table>

        
        
        
        
        
        
        
        
    </body>
</html>
